#ifndef TCP_META_H
#define TCP_META_H


#include <QString>

enum fkind{
    RESKIND = 0,       // "RK",
    SRHKIND = 1,       // "SR",
    ERRDCKIND = 2,     // "EK",
    SIGNSCKIND = 3,    // "SS",
    SIGNFAILKIND = 4,  // "SF",
    OTHERKIND = 5,     // "OT",
};


struct tcp_meta{
    tcp_meta(){}
    tcp_meta(QString);

    QString filename;
    qint64 size;
    QString owner;
    QString ip;
    qint64 port;
    QString filepath;
    QString online;

    bool status;

    QString toString();
};
#endif // TCP_META_H
